package com.iwayin.web.common.utils;

import java.io.File;
import java.io.IOException;

public class TestCompress {

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		File o = new File("F:/pic/1.jpg");
		//ImageUtil.resize(o, r, 50, "jpg");//效果比较差
		ImageUtil.cutImage(o, "F:/pic/2.jpg", 493, 201,500, 500);

	}

}
